<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String langfilename = "/resources/message";
%>
<%@include file="common/LocaleManager.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    
    <title>Fesco Service</title>
	<link rel="stylesheet" href="<%=path%>/js/jquery/themes/redmond/jquery.ui.all.css" />
	<script src="<%=path%>/js/FormCheck.js"></script>
	<script src="<%=path%>/js/common.js"></script>
	<script src="<%=path%>/js/resources_zh_CN.js"></script>	    
	<script src="<%=path%>/js/jquery/jquery-1.5.1.js"></script>
	<script src="<%=path%>/js/jquery/ui/jquery.ui.core.js"></script>
	<script src="<%=path%>/js/jquery/ui/jquery.ui.widget.js"></script>
	<script src="<%=path%>/js/jquery/ui/jquery.ui.tabs.js"></script>
	<script src="<%=path%>/js/jquery/ui/jquery.ui.button.js"></script>
	<script src="<%=path%>/js/jquery/ui/jquery.ui.datepicker.js"></script>
	<link rel="stylesheet" type="text/css" href="<%=path%>/css/main.css" />
	

	<script type="text/javascript">
	$(function() {
		$( "#tabs" ).tabs({
			event: "mouseover"
		});
		$( "#Login1" ).button({
            icons: {
                primary: "ui-icon-person"
            }
        }).click(function(){
        	
			//验空
			if (!check_empty("custForm.custName|custBirth"," <%=resource.getString("FS_T_FIRSTNAME5")%> |<%=resource.getString("FS_T_BIRTH")%> "))
				return false;
							
			document.forms.custForm.action = '<%=path%>/action/Login.htm?cmd=custLogin';
			document.forms.custForm.submit();		
        });
        $( "#Reset1" ).button({
            icons: {
                primary: "ui-icon-script"
            }
        }).click(function(){
        	document.custForm.reset();
        });
        
        $( "#Login2" ).button({
            icons: {
                primary: "ui-icon-person"
            }
        }).click(function(){
			//验空
			if (!check_empty("hrForm.operName|operPassword"," <%=resource.getString("FS_T_USERNAME")%> |<%=resource.getString("FS_T_PASSWORD")%> "))
				return false;
							
			document.forms.hrForm.action = '<%=path%>/action/Login.htm?cmd=hrLogin';
			document.forms.hrForm.submit();		
        	
        	
        });
        $( "#Reset2" ).button({
            icons: {
                primary: "ui-icon-script"
            }
        }).click(function(){
        	document.hrForm.reset();
        });
        
         $( "#Login3" ).button({
            icons: {
                primary: "ui-icon-person"
            }
        }).click(function(){
        	
			//验空
			if (!check_empty("operForm.operName|operPassword"," <%=resource.getString("FS_T_USERNAME")%> |<%=resource.getString("FS_T_PASSWORD")%> "))
				return false;
							
			document.forms.operForm.action = '<%=path%>/action/Login.htm?cmd=operLogin';
			document.forms.operForm.submit();	
        	

        });
        $( "#Reset3" ).button({
            icons: {
                primary: "ui-icon-script"
            }
        }).click(function(){
        	document.operForm.reset();
        });
        $( "#datepicker" ).datepicker({
					changeMonth: true,
					changeYear: true
				 });
        
	});
	</script>
	
  </head>
  
  <body>
  <div class="container demo">
	
	 <div class="border">
	  	<div class="language" >
	  		<a href="<%=basePath%>action/Login.htm?cmd=setLanguage&language=zh" style="color:#fff;text-decoration:none"><%=resource.getString("FS_T_CHINESE") %></a><div class="seperator"></div>
	  		<a href="<%=basePath%>action/Login.htm?cmd=setLanguage&language=en" style="color:#fff;text-decoration:none"><%=resource.getString("FS_T_ENGLISH") %></a><div class="seperator"></div>
	  		<a href="<%=basePath%>action/Login.htm?cmd=setLanguage&language=ja" style="color:#fff;text-decoration:none"><%=resource.getString("FS_T_JAPANESE") %></a>
	  	</div>
	  	<div class="banner clearfix">
	  		<h1>
	  			<%=resource.getString("FS_T_SYSTEMTITLE1") %> <span><%=resource.getString("FS_T_SYSTEMTITLE2") %> </span> 
	  			<%=resource.getString("FS_T_SYSTEMTITLE3") %><span><%=resource.getString("FS_T_SYSTEMTITLE4") %></span>
	  	 		<strong><%=resource.getString("FS_T_SYSTEMNAME") %></strong>
	  	 	</h1> 
	  	 </div>
	   
	    <div class="main">
	     <div class="pic"><img src="<%=path%>/images/man_pic01.jpg" width="301" height="211"  /></div>
        	<div id="tabs"  class="content_box">
        		<div class="top"></div>
				<div class="center">
					<ul>
						<li><a href="#tabs-1"><%=resource.getString("FS_T_FORCUSTOMER") %></a></li>
						<li><a href="#tabs-2"><%=resource.getString("FS_T_FORHR") %></a></li>
						<li><a href="#tabs-3"><%=resource.getString("FS_T_FOROPERATOR") %></a></li>
					</ul>
					<div id="tabs-1">
			          	<form name="custForm"  method="post" action="">
			          	<fieldset>
			          		<label><%=resource.getString("FS_T_FIRSTNAME5") %></label>
			          		<input name="custName" class=" ui-corner-all" type="text" /> <br>
			          	</fieldset>
			          	<fieldset>
			          		<label><%=resource.getString("FS_T_BIRTH") %></label>
			          		<input id="datepicker" name="custBirth" class=" ui-corner-all" type="text" readOnly="true"/> <br>
			          	</fieldset>
			          		<div id="Reset1"> <%=resource.getString("FS_T_RESET") %></div>
			          		<div id="Login1"> &nbsp;<%=resource.getString("FS_T_CONFIRM") %>&nbsp;&nbsp;&nbsp; </div>
			          	</form>
			          </div>
			          <div id="tabs-2">
			          	<form name="hrForm"  method="post" action="">
			          	<fieldset>
			          		<label><%=resource.getString("FS_T_USERNAME") %></label><input name="operName" class=" ui-corner-all" type="text" /> <br>
			          	</fieldset>
			          	<fieldset>
			          		<label><%=resource.getString("FS_T_PASSWORD") %></label><input name="operPassword" class=" ui-corner-all" type="password" /> <br>
			          	</fieldset>
			          		<div id="Reset2"> <%=resource.getString("FS_T_RESET") %></div>
			          		<div id="Login2"> <%=resource.getString("FS_T_LOGIN") %> </div>
			          	</form>
			          </div>
			          <div id="tabs-3">
			          	<form name="operForm"  method="post" action="">
			          	<fieldset>
			          		<label><%=resource.getString("FS_T_USERNAME") %></label><input name="operName" class=" ui-corner-all" type="text" /> <br>
			          	</fieldset>
			          	<fieldset>
			          		<label><%=resource.getString("FS_T_PASSWORD") %></label><input name="operPassword" class=" ui-corner-all" type="password" /> <br>
			          	</fieldset>
			          		<div id="Reset3"> <%=resource.getString("FS_T_RESET") %></div>
			          		<div id="Login3"> <%=resource.getString("FS_T_LOGIN") %> </div>
			          	</form>
			          </div>
			   </div>
			   <div class="bottom"></div>
			</div>
        
      </div>
      <div class="clear"></div>
    </div>
  </div>
 

  </body>
</html>
